package com.rr.learningdemo.dao;

import com.rr.learningdemo.pojo.Person;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface PersonDao {
    int insert(Person record);

    int insertSelective(Person record);

    Person selectById(Integer id);

    void updateById(Person person);
}